package cn.edu.seu.cose.qol.model.dto.question;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "briefQuestionBase", propOrder = {"_baseName", "_uri"})
@XmlAccessorType(XmlAccessType.FIELD)
public class AddressableQuestionBaseInstance {

	@XmlAttribute(name = "name")
	private String _baseName;
	
	@XmlElement(name = "uri")
	private String _uri;
	
	public AddressableQuestionBaseInstance() {
		this(null);
	}
	
	public AddressableQuestionBaseInstance(String baseName) {
		this(null, null);
	}
	
	public AddressableQuestionBaseInstance(String baseName, String uri) {
		_baseName = baseName;
		_uri = uri;
	}
	
	public String getUri() {
		return _uri;
	}
	
	public void setUri(String uri) {
		_uri = uri;
	}
	
	public String getName() {
		return _baseName;
	}
	
	public void setName(String baseName) {
		_baseName = baseName;
	}

}
